package com.jyh.config;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 定时任务配置类
 */
@Configuration
@EnableScheduling // 启用定时任务
public class SchedulingConfig {

	private final Logger logger = LoggerFactory.getLogger(getClass());

	// }
	/**
	 * 定时查询放款记录信息
	 */
//	@Scheduled(cron = "0 0/1 * * * ?") // 每20秒执行一次
	public void scheduler2() {
	}

}
